/**
 * 
 */
package cn.jhz.filesharingsystem.model;

/**
  *  权限的模型类
 * @author asus
 */
public class Permission {
	private int id;
	private String resource;
	private Integer state;
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the resource
	 */
	public String getResource() {
		return resource;
	}
	/**
	 * @param resource the resource to set
	 */
	public void setResource(String resource) {
		this.resource = resource;
	}
	/**
	 * @return the state
	 */
	public Integer getState() {
		return state;
	}
	/**
	 * @param state the state to set
	 */
	public void setState(Integer state) {
		this.state = state;
	}
	@Override
	public String toString() {
		return "Permission [id=" + id + ", resource=" + resource + ", state=" + state + "]";
	}
	
}
